﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dyn.News.Models;

namespace Dyn.News.ViewModels
{
    public class ContentCategoryMenuWidgetViewModel
    {

        public int Id { get; set; }
        public string Name { get; set; }
        //Category cha
        public ContentCategoryMenuWidgetViewModel Parent { get; set; }
        //Danh sách category con
        public IList<ContentCategoryMenuWidgetViewModel> Childs { get; set; }
        //Thuộc về 01 widget || Cha thuộc thì con thuộc
        public NewsCategoryMenuWidgetPartRecord CategoryMenuWidgetPartRecord { get; set; }
        public int DisplayOrder { get; set; }
        public bool IsEnable { get; set; }
        public string image { get; set; }
        public string CategoryUrl { get; set; }
    }
}
